#include <iostream>
using namespace std;
int main()
{
	int num = -1;
	int n = num >> 1;
	cout << "n = " << n << endl;
	cout << "num = " << num << endl;
	return 0;
}
//#include <iostream>
//using namespace std;
//int main()
//{
//	int num = 10;
//	int n = num << 1;
//	cout << "n = " << n << endl;
//	cout << "num = " << num << endl;
//	return 0;
//}
//#include <iostream>
//using namespace std;
//string s = "0123456789ABCDEF";
//void x_to_m(int x, int m)
//{
//    if (x >= m)
//        x_to_m(x / m, m);
//    cout << s[x % m];
//}
//int main()
//{
//    int x = 0;
//    int m = 0;
//    cin >> x >> m;
//    x_to_m(x, m);
//    return 0;
//}